Metrology of motor behavior